fn main() {
    let mut s1 = String::new();
    s1.push_str("Hello ");
    println!("{}", s1);

    let s2 = "Hello world".to_string();
    println!("{}", s2);

    let s3 = String::from("All Roads lead to Roman");
    println!("{}", s3);

    s1 = s1 + &s3;
    println!("{}", s1);

    let len = String::from("Здравствуйте").len();
    println!("{}", len);
    // println!("{}", "Здравствуйте".to_string().get(0).to_string());
    let hello = "Здравствуйте";
    println!("{}", &hello[..6]);
}
